package xkp.lesson3;

import xkp.lesson.utils.ArraysUtils;

public class Demo1 {
	public static void main(String[] args) {
		int[] arr = {1231,435,123,1,54,65,47,5,67,54,542,13234,31};
		ArraysUtils.printArr(arr);
		ArraysUtils.quickSort(arr, 0, arr.length-1);
		ArraysUtils.printArr(arr);
		System.out.println(ArraysUtils.binarySearch(arr, 54));
	
	}

}
